package com.mall.dubbo.api;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.model.domain.SmsCouponProductCategoryRelation;

import java.util.List;

/**
 * @author xyiaao
 * @description 针对表【sms_coupon_product_category_relation(优惠券和产品分类关系表)】的数据库操作Api
 * @createDate 2022-03-29 19:46:09
 */
public interface SmsCouponProductCategoryRelationApi extends IService<SmsCouponProductCategoryRelation> {

    void deleteByCouponId(Integer id);

    void updateCategoryRelation(Integer id, SmsCouponProductCategoryRelation categoryRelation);

    List<SmsCouponProductCategoryRelation> findByCouponId(Integer id);

}
